package com.lagou.edu.code.mapper;

import com.lagou.edu.code.entity.AuthCodeDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liangzj
 * @date 2021/6/25 8:31
 */
@Mapper
public interface AutoCodeMapper {

    Integer insert(@Param("authCodeDO") AuthCodeDO authCodeDO);

    List<AuthCodeDO> listByEmailAndCode(@Param("email") String email, @Param("code") String code);

}
